#ifndef TODO_TESTRUNNER_H
#define TODO_TESTRUNNER_H
#include <vector>
#include <dirent.h>

class TestRunner {
	unsigned int pass, fail;
	std::vector<char*> files;
	std::vector<std::string> tmp_files;
	DIR *dp;
	char *dirname;
public:
	TestRunner() : pass(0), fail(0), dp(NULL), dirname(NULL) { }
	~TestRunner();
	void write_file(std::string&, std::string&);
	std::string read_file(const char*) const;
	void show_result(void) const;
	void find(char* dir);
	void run(void);
};

#endif // TODO_TESTRUNNER_H 
